import sha256 from 'crypto-js/sha256';

const salt = 'ghd_dataviz_web';

export function sha256AndSalt(str) {
  return sha256(`${str}_${salt}`).toString();
}
